package cn.edu.zju.core.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 物理模型执行阶段
 * </p>
 *
 * @author zcx
 * @since 2024-06-06
 */
@Getter
@Setter
@TableName("comsol_model_step")
@Schema(name = "ComsolModelStep", description = "$!{table.comment}")
public class ComsolModelStep implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @Schema(description = "物理模型id")
    private Integer modelId;

    @Schema(description = "阶段名称")
    private String stepName;

    @Schema(description = "阶段字符")
    private Integer stepVal;

    @Schema(description = "顺序")
    private Integer sort;

    @Schema(description = "状态,0-未运行、1：运行中、2：运行成功、3：运行失败")
    private Integer status;
}
